package com.yanjiali.feign;


import com.yanjiali.config.feign.OAuth2FeignConfig;
import com.yanjiali.model.R;
import io.swagger.annotations.ApiOperation;
import com.yanjiali.model.GetLikeCommentListResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Package: feign
 * @Author: yanjiali
 * @Created: 2025/4/25 17:54
 */
@FeignClient(name = "comment-service", path = "/v1/comments", configuration = OAuth2FeignConfig.class)
public interface CommentServiceFeign {

    @GetMapping("/getLikeCommentList")
    @ApiOperation("查询当前用户的点赞的评论id")
    public R<GetLikeCommentListResp> getLikeCommentList();
}